MV_SAVE_IMAGE_PARAM_EX

MV_SAVE_IMAGE_PARAM_EX

Structure about parameters of converting picture format

Structure Definition

struct{
  unsigned char         *pData;    
  unsigned int          nDataLen;
  MvGvspPixelType       enPixelType;
  unsigned short        nWidth;
  unsigned short        nHeight;   
  unsigned char         *pImageBuffer;
  unsigned int          nImageLen;    
  unsigned int          nBufferSize;
  MV_SAVE_IAMGE_TYPE    enImageType;
  unsigned int          nJpgQuality;
  unsigned int          nReserved[4]; 
}MV_SAVE_IMAGE_PARAM_EX;

Members

pData

Original image data

nDataLen

Original image data length

enPixelType

Pixel format of original image data, see the enumeration MvGvspPixelType for details.

nWidth

Image width

nHeight

Image height

pImageBuffer

Output data buffer, used for storing converted picture data

nImageLen

Converted picture data length

nBufferSize

The size of output data buffer

enImageType

Output picture format, see the enumeration MV_SAVE_IAMGE_TYPE for details.

nJpgQuality

Encoding quality, range: (50,99]

nReserved

Reserved.

MV_SAVE_IMAGE_PARAM_EX

Structure about parameters of converting picture format

Structure Definition

struct{
  unsigned char         *pData;    
  unsigned int          nDataLen;
  MvGvspPixelType       enPixelType;
  unsigned short        nWidth;
  unsigned short        nHeight;   
  unsigned char         *pImageBuffer;
  unsigned int          nImageLen;    
  unsigned int          nBufferSize;
  MV_SAVE_IAMGE_TYPE    enImageType;
  unsigned int          nJpgQuality;
  unsigned int          nReserved[4]; 
}MV_SAVE_IMAGE_PARAM_EX;

Members

pData

Original image data

nDataLen

Original image data length

enPixelType

Pixel format of original image data, see the enumeration MvGvspPixelType for details.

nWidth

Image width

nHeight

Image height

pImageBuffer

Output data buffer, used for storing converted picture data

nImageLen

Converted picture data length

nBufferSize

The size of output data buffer

enImageType

Output picture format, see the enumeration MV_SAVE_IAMGE_TYPE for details.

nJpgQuality

Encoding quality, range: (50,99]

nReserved

Reserved.